///////////////////////////////////////////////////////////////////////////// // Noritsu NetOrder SDK v3.0.0 // // QssSvr.IDL // // Copyright (C) 2002-2009 Noritsu Koki Co.,Ltd. All rights reserved. ///////////////////////////////////////////////////////////////////////////// [ uuid(6b4e94fe-5fc7-40a0-acf3-bae3063c9cfe), // UUID version(1.0), // Interface version pointer_default(unique) // Pointer default ] interface QssSvr { typedef pipe byte QSS_FRAME_PIPE; typedef pipe byte QSS_PROFILE_PIPE; typedef struct _QSS_PRINTER_INFO { char Name[20]; // QSS Model unsigned long Version; // Interface version unsigned char IPAddress[4]; // IP Address - Version 1.0.5 unsigned short SystemInfo; // (Unused) unsigned short EnableExtension; // Version 1.0.5.10 unsigned short EnableBothSidePrint; // Version 1.0.5.10 unsigned char Reserve[30]; // (Unused) } QSS_PRINTER_INFO; typedef struct _QSS_CLIENT_INFO { char User[20]; // User Name char Host[20]; // Host Name unsigned char Address[6]; // MAC Address unsigned char IPAddress[4]; // IP Address - Version 1.0.5 unsigned short Port; // Port number of the socketto receive event notification - Version 1.0.5 unsigned long Version; // Version of NetOrder API to use - Version 1.0.5 unsigned short Level; // Client Level - Version 1.0.5 unsigned char Reserve[38]; // (Unused) } QSS_CLIENT_INFO; typedef struct _QSS_FRAME_PARAM { unsigned short OrderNo; // Order Number unsigned short FrameNum; // Number of frame(s) unsigned short FrameNo; // Frame Number char FileName[18]; // File name of image unsigned long FileSize; // Size of image unsigned long ImageFormat; // Format of image unsigned short PrintSize; // Print size unsigned short RepeatNum; // Number of repeat unsigned short RepeatPos; // CVP printing to locate the print count. char CvpString1[120]; // Information to be printed on the 1st line of CVP. char CvpString2[120]; // Information to be printed on the 2nd line of CVP. unsigned short CvpFlg; // CVP Configuration unsigned short PaperWidth; // Paper Width - Version 1.0.4 unsigned short PaperLength; // Paper Length - Version 1.0.4 unsigned short Surface; // Surface - Version 1.0.4 unsigned short WithBorder; // Border - Version 2.1.0 unsigned short PaperFittingFlg; // Paper Fitting - Version 2.1.0 unsigned short ImageXPixels; // (Unused) unsigned short ImageYPixels; // (Unused) unsigned short Reserve1; // (Unused) unsigned hyper RefId; // Reference Id - Version 1.0.4 unsigned short SizeRate; // (Unused) unsigned short Rotate; // (Unused) short CenterX; // (Unused) short CenterY; // (Unused) unsigned char Way; // (Unused) unsigned char Reserve2; // (Unused) unsigned short EnablePaperFittingFlg; // Paper Fitting Configuration - Version 2.1.0 unsigned char Reserve[4]; // (Unused) } QSS_FRAME_PARAM; typedef struct _QSS_ORDER_PARAM { unsigned short OrderNo; // Order Number unsigned short FrameNum; // Number of frame(s) unsigned short PaperWidth; // Paper Width unsigned short PaperLengthC; // Paper Length[Classical] unsigned short PaperLengthP; // Paper Length[Panoramic] unsigned short PaperLengthH; // Paper Length[High-definition] unsigned short Surface; // Surface unsigned short WithBorderC; // Border[Classical] unsigned short WithBorderP; // Border[Panoramic] unsigned short WithBorderH; // Border[High-definition] unsigned short IndexPrintFlg; // Index print type. unsigned short PaperFittingFlg; // Paper Fitting unsigned short IndexPaperWidth; // Paper width for index print - Version 1.0.1 unsigned short IndexSurface; // Surface for index print - Version 1.0.1 unsigned short CmsFlg; // CMS - Version 1.0.3 unsigned short Reserve1; // (Unused) unsigned hyper RefId; // Reference Id - Version 1.0.4 unsigned short SorterNum; // Number of prints to operate sorter - Version 1.0.6 unsigned char Reserve2[22]; // (Unused) } QSS_ORDER_PARAM; typedef struct _QSS_PAPER_INFO { unsigned short PaperWidth; // Paper Width unsigned short Resolut; // Resolut unsigned short MagazineState; // Presence of paper magazines. unsigned long PaperRemaind; // Paper remaining unsigned short Surface; // Surface unsigned short PaperLengthMin; // Minimum feed length - Version 1.0.3 unsigned short PaperLengthMax; // Maximum feed length - Version 1.0.3 unsigned char Reserve[48]; // (Unused) } QSS_PAPER_INFO; typedef struct _QSS_ERROR_INFO { unsigned short MainNo; // Number of errors unsigned short SubNo; // Suffix of error number unsigned short Level; // Error level wchar_t Message[256]; // Error message unsigned char Reserve[26]; // (Unused) } QSS_ERROR_INFO; // Date and time - Version 1.0.5 typedef struct _QSS_DATETIME { unsigned short Year; // Year unsigned short Month; // Month unsigned short Day; // Day unsigned short Hour; // Hour unsigned short Miniute; // Miniute } QSS_DATETIME; typedef struct _QSS_ORDER_STATE { unsigned short OrderNo; // Order Number unsigned short OrderState; // Status of order QSS_DATETIME FinishTime; // Estimated finish time of order - Version 2.1.0 unsigned char Reserve[18]; // (Unused) } QSS_ORDER_STATE; typedef struct _QSS_PRINTER_STATE { unsigned short QssState; // Define the status of QSS unsigned short AbleReceive; // Determine whether the input from the external source is printable or not on QSS. unsigned short AblePU; // Determine whether PU connected to QSS is enabled or not. QSS_PAPER_INFO MagazineA; // Define the information related to the paper magazine A installed on QSS. QSS_PAPER_INFO MagazineB; // Define the information related to the paper magazine B installed on QSS. unsigned long SupportImageFormat; // Define the image format that QSS supports. unsigned hyper TotalPrintNum; // Define the total number of prints of the order currently being printed or printed last. unsigned short TemperatureCD; // Define the temperature of CD unsigned short TemperatureBF; // Define the temperature of BF unsigned short TemperatureSTB; // Define the temperature of STB unsigned short RemaindQuantityCD; // (Unused) unsigned short RemaindQuantityBF; // (Unused) unsigned short RemaindQuantitySTB; // (Unused) unsigned hyper SpoolerSpace; // Define the free space for the spool. - Version 1.0.3 unsigned short IsNetOrderMode; // A frag is set to determine whether QSS is currently in the NetOrder mode or not unsigned short IsCalibrationMode; // A frag is set to determine whether NetOrder is currently in the calibration mode or not unsigned short EnableOutMediaViewer; // Abailable type of viewer - Version 2.1.0 unsigned char Reserve[20]; // (Unused) } QSS_PRINTER_STATE; typedef struct _QSS_PRINT_CHANNEL { short ChNo; // Define the channel number. unsigned short Meishou[11]; // Define the channel name. short Printtype; // Define the type of print. unsigned char InpMediaType; // Define the type of input media unsigned short MeishouCph[3][6]; // Define the print name for each type of print. short Haba[3]; // Define the width of the print for each type of print. short Mensitu[3]; // Define the type of paper surface for each type of print. short Feed[3]; // Define the advance length of paper for each type of print. short WbHaba[3]; // Define the width of the white border for each type of print. short SizeRate[3]; // Define the magnification ratio of the image for each type of print. signed short RokouichiHosei[3]; // Define the exposure position correction for each type of print. short CvpSw; // Define CVP printing flag. short FPSw; // Define the front print position. short IDPSize[3]; // Define the type of index print. short IndexHaba[3]; // Define the paper width of index paper. short IndexMensitu[3]; // Define the paper surface of index print. unsigned char OutMediaSw; // Define the type of output media. unsigned short OutMediaFormat; // Define the output format. unsigned char OutMediaInfoQuality; // Define the image quality. - Version 1.0.3 unsigned char OutMediaInfoQualityPer; // Define the quality ratio of the image to be saved to media. - Version 1.0.3 unsigned char OutMediaInfoSize; // Define the output size. - Version 1.0.3 unsigned char PaperFitSW; // Define the type of paper fitting. - Version 1.0.3 unsigned short EditModeNo; // Define the edit type. - Version 1.0.3 unsigned short Template; // Define the template type. - Version 1.0.3 unsigned char PapScan120; // (Unused) - Version 1.0.3 unsigned char Reserve1; // (Unused) - Version 1.0.3.3 unsigned short OutPrintSw; // Define the print flag - Version 1.0.3.3 unsigned short OutIndexSw; // Define the index flag. - Version 1.0.3.3 unsigned short OutPrintFrame; // Define the type of print frame. - Version 1.0.3.3 short HiSizeRate[3]; // (Unused) - Version 1.0.3.4 unsigned short Priority; // Define the priority - Version 2.1.0 unsigned char Reserve[12]; // (Unused) } QSS_PRINT_CHANNEL; typedef struct _QSS_PU_INFO { char NameC[20]; // Product Name[Classical] char NameP[20]; // Product Name[Panoramic] char NameH[20]; // Product Name[High-definition] unsigned short QuantityC; // Print Count[Classical] unsigned short QuantityP; // Print Count[Panoramic] unsigned short QuantityH; // Print Count[High-definition] unsigned short PriceC; // Unit Price[Classical] unsigned short PriceP; // Unit Price[Panoramic] unsigned short PriceH; // Unit Price[High-definition] unsigned long SumC; // Price[Classical] unsigned long SumP; // Price[Panoramic] unsigned long SumH; // Price[High-definition] unsigned long ChargePrice; // Basic fee (charge fee) to be printed unsigned long IndexPrice; // Index price to be printed unsigned char Reserve[36]; // (Unused) } QSS_PU_INFO; typedef struct _QSS_SUM_INFO { unsigned long PChC[100]; // Define the total number of prints made in each print channel.[Classical] unsigned long PChP[100]; // Define the total number of prints made in each print channel.[Panoramic] unsigned long PChH[100]; // Define the total number of prints made in each print channel.[High-definition] unsigned long PaperPrint; // Total number of prints in Print Totals unsigned long PaperIndex; // Total number of prints in Index Print Totals unsigned long PaperSetup; // Total number of prints in Setup Print Totals unsigned long PaperLabel; // Total number of prints in Label Totals unsigned long PaperOther; // Total number of prints of Others unsigned long PaperTotal; // Total of PaperPrint, PaperIndex, PaperSetup, PaperLabel, and PaperOther. unsigned long WriteMedia; // Total number of media unsigned long WriteImage; // Total number of images written into storage media. unsigned short DisposalSpec; // Define the process specification of QSS. unsigned long TotalHojyu[9]; // Define the total amount of replenisher solution used on QSS. unsigned char Reserve[42]; // (Unused) } QSS_SUM_INFO; typedef struct _QSS_PROFILE_INFO // Version 1.0.3 { unsigned short DeviceKind; // Define the device whose profile you wish to get. unsigned short PaperWidth; // Paper Width unsigned short Surface; // Surface unsigned char Reserve[26]; // (Unused) } QSS_PROFILE_INFO; long QssGetName( // #1 [out] QSS_PRINTER_INFO* QssInfo // [out] QSS information ); long QssTransmitFile( // #2 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] QSS_FRAME_PIPE Pipe, // [in] RPC pipe [in] QSS_FRAME_PARAM FrameParam // [in] Frame print parameter ); long QssSetOrder( // #3 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] QSS_ORDER_PARAM OrderParam // [in] Order Print Parameter ); long QssAbort( // #4 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] unsigned short OrderNo // [in] Request number of the order to be deleted ); long QssSetPUInfo( // #5 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] unsigned short OrderNo, // [in] Request number [in] QSS_PU_INFO PuInfo // [in] PU output information ); long QssGetPaper( // #6 [in] short Flag, // [in] Get flag [in] long BufferNum, // [in] Number of buffer for paper information [out] long* PaperNum, // [out] Number of paper magazine installed / Number of paper magazine registered [out, size_is(BufferNum)] QSS_PAPER_INFO* PaperInfo // [out] Paper information ); long QssGetError( // #7 [in] short Flag, // [in] Get flag [in] long BufferNum, // [in] Buffer number of Error information [out] long* ErrorNum, // [out] Number of errors and/or attention messages currently occur [out, size_is(BufferNum)] QSS_ERROR_INFO* ErrorInfo // [out] Error information ); long QssGetOrderState( // #8 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] short Flag, // [in] Get flag [in] long BufferNum, // [in] Number of buffer for order status [out] long* OrderNum, // [out] Number of order acquired [in, out, size_is(BufferNum)] QSS_ORDER_STATE* OrderState // [in][out] Order status ); long QssGetPrinterState( // #9 [out] QSS_PRINTER_STATE* PrinterState // [out] Status of QSS ); long QssGetChannelInfo( // #10 [in] long BufferNum, // [in] Number of buffer for print channel information [out] long* ChannelNum, // [out] Number of print channel information [out, size_is(BufferNum)] QSS_PRINT_CHANNEL* PrintChannel // [out] Print channel information ); long QssGetSumInfo( // #11 [out] QSS_SUM_INFO* SumInfo // [out] Total information ); long QssGetProfile( // #12 [in] QSS_PROFILE_INFO ProfileInfo, // [in] Get profile information [out] QSS_PROFILE_PIPE Pipe // [out] RPC pipe ); typedef pipe byte QSS_PRINTER_PIPE; typedef struct _QSS_PRINTER_PARAM { unsigned short PaperWidth; // Paper Width unsigned short Surface; // Surface unsigned char Reserve[60]; // (Unused) } QSS_PRINTER_PARAM; long QssSetPrinter( // #13 [in] unsigned long PrinterInfoSize, // [in] Printer setup data size [in] QSS_PRINTER_PIPE Pipe, // [in] RPC pipe [in] QSS_PRINTER_PARAM PrinterParam // [in] Information of printer setup data registration ); typedef struct _QSS_FRAME_PARAM_EX { unsigned short OrderNo; // Order Number unsigned short FrameNum; // Number of frame(s) unsigned short FrameNo; // Frame Number char FileName[18]; // File name of image unsigned long FileSize; // Size of image unsigned long ImageFormat; // Format of image unsigned short PrintSize; // Print size unsigned short RepeatNum; // Number of repeat unsigned short RepeatPos; // CVP printing to locate the print count. char CvpString1[120]; // Information to be printed on the 1st line of CVP. char CvpString2[120]; // Information to be printed on the 2nd line of CVP. unsigned short CvpFlg; // CVP Configuration char DisplayName[260]; // File name of image unsigned char Reserve1[4]; // (Unused) unsigned short PaperWidth; // Paper Width - Version 1.0.4 unsigned short PaperLength; // Paper Length - Version 1.0.4 unsigned short Surface; // Surface - Version 1.0.4 unsigned char Reserve[30]; // (Unused) } QSS_FRAME_PARAM_EX; long QssTransmitFileEx( // #14 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] QSS_FRAME_PIPE Pipe, // [in] RPC pipe [in] QSS_FRAME_PARAM_EX FrameParamEx // [in] Frame print parameter ); long QssAbortRefId( // #15 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] unsigned hyper RefId // [in] Reference Id of the order to be deleted ); long Reserve16(void); // QssGetPrinter // Extended order status - Version 1.0.5 typedef struct _QSS_ORDER_STATE_EX { unsigned short OrderNo; // Request number unsigned short OrderState; // Status of order unsigned short Reserve1[2]; // (Unused) unsigned hyper RefId; // Reference number QSS_DATETIME FinishTime; // Estimated finish time of order - Version 2.1.0 unsigned char Reserve[6]; // (Unused) } QSS_ORDER_STATE_EX; // Get order state - Version 1.0.5 long QssGetOrderStateRefId( // #17 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] short Flag, // [in] Get flag [in] long BufferNum, // [in] Number of buffer for order status [out] long* OrderNum, // [out] Number of order acquired [in, out, size_is(BufferNum)] QSS_ORDER_STATE_EX* OrderStateEx // [in][out] Extended order status ); // Order History - Version 1.0.5 typedef struct _QSS_ORDER_HISTORY { QSS_DATETIME ReceiptTime; // Defines the receipt time. QSS_DATETIME CompleteTime; // Defines the printing completed time. unsigned short ReceiptNo; // Defines the receipt number. unsigned short Status; // Defines the order type. unsigned short FrameNum; // Defines the total number of frames. unsigned short PaperWidth; // Defines the paper width. unsigned short Surface; // Defines the paper surface. unsigned short IndexPrintFlg; // Defines the index size. unsigned short PaperFittingFlg; // Defines the type of paper fitting. unsigned short ReceiptFlg; // Defines whether or not to issue order sheet. unsigned short OrderNo; // Defines order number. char Host[20]; // Defines host name. char User[20]; // Defines user name. unsigned short RequestNo; // Defines request number. unsigned char Address[6]; // Defines MAC address. unsigned short PrintNumC; // Defines number of print. unsigned short PrintNumP; // Defines number of print. unsigned short PrintNumH; // Defines number of print. unsigned short IndexPrintNum; // Defines number of index print. unsigned short MediaTotal; // Defines number of media to which data is output. unsigned short OutputPrint; // Defines whether to print or not. unsigned short OutputMedia; // Defines the type of output media. unsigned short CT1MediaOutput; // Defines media output on CT-1. unsigned short CT1OutputMedia; // Defines the type of output media used on CT-1. QSS_DATETIME PrintTime; // Defines printing start time. unsigned short PaperWidthB; // Defines paper width. unsigned short SurfaceB; // Defines paper surface. unsigned short Reserve1[6]; // (Unused) unsigned hyper RefId; // Defines reference number. unsigned char Reserve[8]; // (Unused) } QSS_ORDER_HISTORY; // Get order history - Version 1.0.5 long QssGetOrderHistory( // #18 [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] QSS_DATETIME DateTime, // [in] Receipt date [in] short OrderStatus, // [in] Order Type [in] long BufferNum, // [in] Number of buffer for order history [out] long* OrderHistoryNum, // [out] Number of order acquired [in, out, size_is(BufferNum)] QSS_ORDER_HISTORY* OrderHistory // [in][out] Order history infomation ); typedef struct _QSS_PAPER_INFO_AD { unsigned short PaperWidth; // Paper Width unsigned short Resolut; // Resolut unsigned short MagazineState; // Presence of paper magazines. unsigned long PaperRemaind; // Paper remaining unsigned short Surface; // Surface unsigned short PaperLengthMin; // Minimum feed length unsigned short PaperLengthMax; // Maximum feed length unsigned short PaperSource; // Version 1.0.5.10 char PaperName[32]; // Version 1.0.5.10 unsigned short Borderless; // Version 1.0.5.10 short TrimTop; // Version 1.0.5.10 short TrimBottom; // Version 1.0.5.10 short TrimLeft; // Version 1.0.5.10 short TrimRight; // Version 1.0.5.10 // -------------------------------------------------------------------------- // [Ver2.3 BOTHSIDE_PRINT] unsigned short PaperTone; // Version 3.0.0.00 unsigned char Reserve[ 38 ]; // -------------------------------------------------------------------------- } QSS_PAPER_INFO_AD; typedef struct _QSS_FRAME_PARAM_AD { unsigned short OrderNo; // Order Number unsigned short FrameNum; // Number of frame(s) unsigned short FrameNo; // Frame Number char FileName[18]; // File name of image unsigned long FileSize; // Size of image unsigned long ImageFormat; // Format of image unsigned short PrintSize; // Print size unsigned short RepeatNum; // Number of repeat unsigned short RepeatPos; // CVP printing to locate the print count. char CvpString1[120]; // Information to be printed on the 1st line of CVP. char CvpString2[120]; // Information to be printed on the 2nd line of CVP. unsigned short CvpFlg; // CVP Configuration unsigned short PaperWidth; // Paper Width unsigned short PaperLength; // Paper Length unsigned short Surface; // Surface unsigned short WithBorder; // (Unused) unsigned short PaperFittingFlg; // (Unused) unsigned short ImageXPixels; // (Unused) unsigned short ImageYPixels; // (Unused) unsigned short Reserve1; // (Unused) unsigned hyper RefId; // Reference Id unsigned short SizeRate; // (Unused) unsigned short Rotate; // (Unused) short CenterX; // (Unused) short CenterY; // (Unused) unsigned char Reserve2[8]; // (Unused) char PaperName[32]; // Version 1.0.5.10 // -------------------------------------------------------------------------- // [Ver2.3 BOTHSIDE_PRINT] unsigned short Resolut; unsigned short PaperTone; unsigned short TrimStartPointX; unsigned short TrimStartPointY; unsigned short TrimSizeX; unsigned short TrimSizeY; unsigned short TrimUnitSize; unsigned short EnablePaperFittingFlg; unsigned char FrontPrintString[32]; unsigned short FrontPrintFlg; unsigned char Reserve[78]; // -------------------------------------------------------------------------- } QSS_FRAME_PARAM_AD; typedef struct _QSS_ORDER_PARAM_AD { unsigned short OrderNo; // Order Number unsigned short FrameNum; // Number of frame(s) unsigned short PaperWidth; // Paper Width unsigned short PaperLengthC; // Paper Length[Classical] unsigned short PaperLengthP; // Paper Length[Panoramic] unsigned short PaperLengthH; // Paper Length[High-definition] unsigned short Surface; // Surface unsigned short WithBorderC; // Border[Classical] unsigned short WithBorderP; // Border[Panoramic] unsigned short WithBorderH; // Border[High-definition] unsigned short IndexPrintFlg; // Index print type. unsigned short PaperFittingFlg; // Paper Fitting unsigned short IndexPaperWidth; // Paper width for index print unsigned short IndexSurface; // Surface for index print unsigned short CmsFlg; // CMS unsigned short Reserve1; // (Unused) unsigned hyper RefId; // Reference Id unsigned short SorterNum; // (Unused) char PaperName[32]; // Version 1.0.5.10 unsigned short BothSidePrint; // Version 1.0.5.10 unsigned short Copies; // Version 1.0.5.10 unsigned short Collate; // Version 1.0.5.10 // -------------------------------------------------------------------------- // [Ver2.3 BOTHSIDE_PRINT] unsigned short FastPrintFlg; unsigned short Resolut; unsigned short PaperTone; unsigned short PaperLengthMin; // unsigned short PaperLengthMax; // unsigned short PaperWidthB; unsigned short SurfaceB; unsigned char PaperNameB[32]; unsigned short ResolutB; unsigned short PaperToneB; unsigned short PaperLengthMinB; // unsigned short PaperLengthMaxB; // unsigned short PaperWidthC; unsigned short SurfaceC; unsigned char PaperNameC[32]; unsigned short ResolutC; unsigned short PaperToneC; unsigned short PaperLengthMinC; // unsigned short PaperLengthMaxC; // unsigned short PaperWidthD; unsigned short SurfaceD; unsigned char PaperNameD[32]; unsigned short ResolutD; unsigned short PaperToneD; unsigned short PaperLengthMinD; // unsigned short PaperLengthMaxD; // unsigned short IndexPrintNum; unsigned short EnablePriority; unsigned short Priority; unsigned short PrintMode; unsigned short Wait; unsigned short BlankPageNum; unsigned char Reserve[6]; // -------------------------------------------------------------------------- } QSS_ORDER_PARAM_AD; long QssGetPaperAD( // #19 [in] short Flag, // [in] Get flag [in] long BufferNum, // [in] Number of buffer for paper information [out] long* PaperNum, // [out] Number of paper magazine installed / Number of paper magazine registered [out, size_is(BufferNum)] QSS_PAPER_INFO_AD* PaperInfo // [out] Paper information ); long QssTransmitFileAD( // #20 [in] QSS_CLIENT_INFO ClientInfo, [in] QSS_FRAME_PIPE Pipe, [in] QSS_FRAME_PARAM_AD FrameParam ); long QssSetOrderAD ( // #21 [in] QSS_CLIENT_INFO ClientInfo, [in] QSS_ORDER_PARAM_AD OrderParam); long QssSetBlankPageAD ( // #22 [in] QSS_CLIENT_INFO ClientInfo, [in] unsigned short OrderNo, [in] unsigned hyper RefId); long Reserve23(void); long Reserve24(void); long Reserve25(void); long Reserve26(void); long Reserve27(void); long Reserve28(void); long Reserve29(void); long Reserve30(void); long Reserve31(void); long Reserve32(void); long Reserve33(void); long QssStartNotify( [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] unsigned long nKind // [in] Type of evnet ); long QssEndNotify( [in] QSS_CLIENT_INFO ClientInfo // [in] Client Information ); long Reserve36(void); // R2RSetDailyOrder typedef struct tagQSS_VERSION { unsigned short Model; // Model Code unsigned short MajorVer; // Major Version unsigned short MinorVer; // Minor Version char SpecialVer; // Special Version char Reserve; // (Unused) unsigned short Build; // Build Number } QSS_VERSION; long QssGetVersion ( [out] QSS_VERSION* Ver, // [out] QSS Version Information [out, size_is(32)] char* MsgDllVer // [out] MsgDll Version Information ); long QssCopyBkData ( [in, size_is(20)] char* Host, // [in] Host Name [in] unsigned short CopyFileKind // [in] Kind of Copy File ); long QssCopyTemplateData ( [in, size_is(20)] char* Host, // [in] Host Name [in] unsigned short Channel, // [in] Print Channel Number [in] unsigned short TemplateInf // [in] Copy Flag ); typedef struct tagQSS_COMPLETION_STATUS { char Host[20]; // Host Name unsigned short OrderNum; // Order Number unsigned short OrderInf; // Order Information unsigned short PrintCh; // Print Channel Number unsigned short Status; // Result unsigned short InputMedia; // Information of Input Media unsigned short OutputMedia; // Information of Output Media unsigned short ImageCount; // Number of Images unsigned short Copies; // Number of Media unsigned char OutputMediaQuality; // Quality of Output Media unsigned short ReceiptNumKOA; // Receipt Number for K-OA unsigned short DVDVideoType; // Writing format of DVD Video unsigned short DVDPlayTimeCount[3]; // Print counts for each playing time of DVD Video } QSS_COMPLETION_STATUS; long QssCompleted ( [in] QSS_COMPLETION_STATUS* Status // [in] Completion Status ); typedef struct _QSS_FRAME_PARAM2 { unsigned short OrderNo; // Order Number unsigned short FrameNum; // Number of frame(s) unsigned short FrameNo; // Frame Number char FileName[18]; // File name of image unsigned long FileSize; // Size of image unsigned long ImageFormat; // Format of image unsigned short PrintSize; // Print size unsigned short RepeatNum; // Number of repeat unsigned short RepeatPos; // CVP printing to locate the print count. char CvpString1[120]; // Information to be printed on the 1st line of CVP. char CvpString2[120]; // Information to be printed on the 2nd line of CVP. unsigned short CvpFlg; // CVP Configuration unsigned short PaperWidth; // Paper Width unsigned short PaperLength; // Paper Length unsigned short Surface; // Surface unsigned short WithBorder; // Border - Version 2.1.0 unsigned short PaperFittingFlg; // Paper Fitting - Version 2.1.0 unsigned short ImageXPixels; // (Unused) unsigned short ImageYPixels; // (Unused) unsigned short Reserve1; // (Unused) unsigned hyper RefId; // Reference Id unsigned short SizeRate; // (Unused) unsigned short Rotate; // Rotation angle - Version 2.1.0 short CenterX; // (Unused) short CenterY; // (Unused) unsigned short TrimStartPointX; // Cropping start position - Version 2.1.0 unsigned short TrimStartPointY; // Cropping start position - Version 2.1.0 unsigned short TrimSizeX; // Cropping start size - Version 2.1.0 unsigned short TrimSizeY; // Cropping start size - Version 2.1.0 unsigned short TrimUnitSize; // Unit for the parameters used for cropping - Version 2.1.0 unsigned short Save; // Configuration of image to be written to the media - Version 2.1.0 unsigned short EnablePaperFittingFlg; // Paper Fitting Configuration - Version 2.1.0 char FrontPrintString[32]; // Front Print string - Version 2.2.0 unsigned short FrontPrintFlg; // Front Print Configuration - Version 2.2.0 unsigned char Reserve[24]; // (Unused) } QSS_FRAME_PARAM2; long QssTransmitFile2( [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] QSS_FRAME_PIPE Pipe, // [in] RPC pipe [in] QSS_FRAME_PARAM2 FrameParam2 // [in] Frame print parameter ); typedef struct _QSS_ORDER_PARAM2 { unsigned short OrderNo; // Order Number unsigned short FrameNum; // Number of frame(s) unsigned short PaperWidth; // Paper Width unsigned short PaperLengthC; // Paper Length[Classical] unsigned short PaperLengthP; // Paper Length[Panoramic] unsigned short PaperLengthH; // Paper Length[High-definition] unsigned short Surface; // Surface unsigned short WithBorderC; // Border[Classical] unsigned short WithBorderP; // Border[Panoramic] unsigned short WithBorderH; // Border[High-definition] unsigned short IndexPrintFlg; // Index print type. unsigned short PaperFittingFlg; // Paper Fitting unsigned short IndexPaperWidth; // Paper width for index print unsigned short IndexSurface; // Surface for index print unsigned short CmsFlg; // CMS unsigned short OrderPunch; // (Unused) unsigned hyper RefId; // Reference Id unsigned short ManualCut; // (Unused) char Comment[22]; // Comment - Version 2.2.0 unsigned short SorterNum; // Number of prints to operate sorter unsigned short PaperWidthB; // Paper Width unsigned short SurfaceB; // Surface unsigned short PaperWidthC; // Paper Width unsigned short SurfaceC; // Surface unsigned short IndexPrintNum; // Number of index print - Version 2.1.0 unsigned short OutMediaFlg; // Destination of output to media - Version 2.1.0 unsigned short OutMediaFormat; // Media output format - Version 2.1.0 unsigned short OutMediaNum; // Number of media - Version 2.1.0 unsigned short OutMediaQualityType; // Media output quality - Version 2.1.0 unsigned short OutMediaQuality; // Media output quality - Version 2.1.0 unsigned short OutMediaSize; // Media output size - Version 2.1.0 unsigned short OutMediaViewer; // Type of the viewer - Version 2.1.0 unsigned short LabelIndexPrintFlg; // Label index print - Version 2.1.0 unsigned short LabelIndexNum; // Number of label index print - Version 2.1.0 unsigned short LabelIndexPaperWidth; // Paper width for label index print - Version 2.1.0 unsigned short LabelIndexSurface; // Surface for label index print - Version 2.1.0 unsigned short EnablePriority; // Priority configuration - Version 2.1.0 unsigned short Priority; // Priority of order - Version 2.1.0 unsigned short PrintMode; // Printing method - Version 2.1.0 unsigned short Wait; // Suspend configuration of order - Version 2.1.0 unsigned short PaperWidthD; // Paper Width - Version 2.2.0 unsigned short SurfaceD; // Surface - Version 2.2.0 unsigned char Reserve[146]; // (Unused) } QSS_ORDER_PARAM2; long QssSetOrder2( [in] QSS_CLIENT_INFO ClientInfo, // [in] Client Information [in] QSS_ORDER_PARAM2 OrderParam2 // [in] Order Print Parameter ); long Reserve43(void); long Reserve44(void); long Reserve45(void); long Reserve46(void); long Reserve47(void); long Reserve48(void); long Reserve49(void); long Reserve50(void); }